package com.zhiyou100.api.generics_demo;

public class Main {

    public static void main(String[] args) {
        //声明一个泛型学生类
        Stu<String, Integer, String> stu = new Stu<>();
        stu.setAge(20);
        stu.setName("ajck");
        stu.setSex("男");
        String s = stu.show("java");

    }

}
